package cn.edu.sdju.fengguoyu;

import cn.edu.sdju.fengguoyu.proto.RegisterInfo;
import cn.edu.sdju.fengguoyu.proto.UserInfo;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;

@Component
public class DataPool {



    @Bean
    public HashMap<String, ArrayList<RegisterServerInfo>> serverDataFactor() {
        return new HashMap<>();
    }
    @Bean
    public ArrayList<UserInfo> userDataFactor() {
        return new ArrayList<>();
    }
}
